package com.woniuxy.meal.form;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
@ApiModel("注册新用户参数对象")
public class RegisterForm {
    @NotNull
    @ApiModelProperty("用户名字")
    private String userName;
    @ApiModelProperty("用户工号")
    private Long userNo;
    @NotNull
    @ApiModelProperty("电话")
    private Long userPhone;
    @NotNull
    @ApiModelProperty("密码")
    private String userPassword;
    @NotNull
    @ApiModelProperty("邮箱")
    private String email;

}
